x86/apic: force phys mode if interrupt remapping is disabled
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 20 Dec 2019 15:27:48 +0000 (16:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Dec 2019 15:27:48 +0000 (16:27 +0100)
commitc08cbf7fb891943508956d85a83b8c1799b7dc2c
tree1d5dc3e8ef8f9dc9d53e8c49b7be807f5e9cb482
parent9356f9de41628f0675dd3458540b3558c52c4a8a
x86/apic: force phys mode if interrupt remapping is disabled

Cluster mode can only be used with interrupt remapping support, since
the top 16bits of the APIC ID are filled with the cluster ID, and
hence on systems where the physical ID is still smaller than 255 the
cluster ID is not. Force x2APIC to use physical mode if there's no
interrupt remapping support.

Note that this requires a further patch in order to enable x2APIC
without interrupt remapping support.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/genapic/x2apic.c